package com.sixteengroup.personnelms.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @Author 月下赶路人
 * @Date 2021-08-14 18:02
 * @function
 */
@Component
@Data
@Alias("article")
@TableName(value = "t_article")
public class Article {
    private Integer id;
    private String title;
    private String author;
    private String content;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operTime;
    private Integer operId;
    private String nickName;//操作人昵称
    //每页多少条
    private Integer pageSize;
    //当前是第几页
    private Integer pageNum;
}
